package com.pro.system.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.pro.system.auto.entity.Role;
import com.pro.system.mapper.SecurityMapper;
import com.pro.system.service.RoleService;

@Service
@Transactional
public class RoleServiceImpl implements RoleService {

	@Autowired
	private SecurityMapper securityMapper;

	@Override
	public List<Role> findAllRoles() {
		
		return this.securityMapper.findAllRoles();
	}
	
}
